package com.jz.community.moduleshoppingguide.home.bean;

import com.jz.community.basecomm.bean.baseCommInfo.PageInfo;
import com.jz.community.basecomm.bean.baseCommInfo.SelfInfo;

import java.util.List;

public class HomeRecommendBean {


    /**
     * _embedded : {"content":[{"id":10,"status":null,"version":5,"createTime":"2018-05-15 17:37:17","updateTime":"2018-05-18 10:31:58","goodsId":10,"title":"图案","sellingDesc":"好吃","images":"http://goodspics.oss-cn-beijing.aliyuncs.com/1524559880922.jpg?Expires=1839919872&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=z3zSEFg6lJG%2B6z1oC1eWEvgZkms%3D","isDelete":false,"spStr":"39|62","price":100,"startTime":"2018-05-18 10:32:09","endTime":null,"links":{"self":{"href":"http://microservice.shoppingyizhan.com/chn/chunnel-recommend/10"},"goodsInfo":{"href":"图案"}}},{"id":19,"status":null,"version":0,"createTime":"2018-05-16 20:02:13","updateTime":"2018-05-16 20:02:13","goodsId":45,"title":"图案","sellingDesc":"string","images":"http://goodspics.oss-cn-beijing.aliyuncs.com/1524559880922.jpg?Expires=1839919872&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=z3zSEFg6lJG%2B6z1oC1eWEvgZkms%3D","isDelete":false,"spStr":"39|62","price":100,"startTime":"2018-05-16 11:50:14","endTime":"2018-05-16 11:50:14","links":{"self":{"href":"http://microservice.shoppingyizhan.com/chn/chunnel-recommend/19"},"goodsInfo":{"href":"null"}}}]}
     * _links : {"self":{"href":"http://microservice.shoppingyizhan.com/chn/chunnel-recommend?page=0&size=10"}}
     * page : {"size":10,"totalElements":2,"totalPages":1,"number":0}
     */

    private EmbeddedBean _embedded;
    private PageInfo page;

    public EmbeddedBean get_embedded() {
        return _embedded;
    }

    public void set_embedded(EmbeddedBean _embedded) {
        this._embedded = _embedded;
    }


    public PageInfo getPage() {
        return page;
    }

    public void setPage(PageInfo page) {
        this.page = page;
    }

    public static class EmbeddedBean {
        private List<ContentBean> content;

        public List<ContentBean> getContent() {
            return content;
        }

        public void setContent(List<ContentBean> content) {
            this.content = content;
        }

        public static class ContentBean {
            /**
             * id : 10
             * status : null
             * version : 5
             * createTime : 2018-05-15 17:37:17
             * updateTime : 2018-05-18 10:31:58
             * goodsId : 10
             * title : 图案
             * sellingDesc : 好吃
             * images : http://goodspics.oss-cn-beijing.aliyuncs.com/1524559880922.jpg?Expires=1839919872&OSSAccessKeyId=LTAIyu9pVcg3oPg9&Signature=z3zSEFg6lJG%2B6z1oC1eWEvgZkms%3D
             * isDelete : false
             * spStr : 39|62
             * price : 100
             * startTime : 2018-05-18 10:32:09
             * endTime : null
             * links : {"self":{"href":"http://microservice.shoppingyizhan.com/chn/chunnel-recommend/10"},"goodsInfo":{"href":"图案"}}
             */

            private String id;
            private Object status;
            private int version;
            private String createTime;
            private String updateTime;
            private String goodsId;
            private String title;
            private String sellingDesc;
            private String images;
            private boolean isDelete;
            private String spStr;
            private String price;
            private String discountPrice;
            private String startTime;
            private Object endTime;
            private LinksBean _links;

            public String getDiscountPrice() {
                return discountPrice;
            }

            public void setDiscountPrice(String discountPrice) {
                this.discountPrice = discountPrice;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public Object getStatus() {
                return status;
            }

            public void setStatus(Object status) {
                this.status = status;
            }

            public int getVersion() {
                return version;
            }

            public void setVersion(int version) {
                this.version = version;
            }

            public String getCreateTime() {
                return createTime;
            }

            public void setCreateTime(String createTime) {
                this.createTime = createTime;
            }

            public String getUpdateTime() {
                return updateTime;
            }

            public void setUpdateTime(String updateTime) {
                this.updateTime = updateTime;
            }

            public String getGoodsId() {
                return goodsId;
            }

            public void setGoodsId(String goodsId) {
                this.goodsId = goodsId;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getSellingDesc() {
                return sellingDesc;
            }

            public void setSellingDesc(String sellingDesc) {
                this.sellingDesc = sellingDesc;
            }

            public String getImages() {
                return images;
            }

            public void setImages(String images) {
                this.images = images;
            }

            public boolean isIsDelete() {
                return isDelete;
            }

            public void setIsDelete(boolean isDelete) {
                this.isDelete = isDelete;
            }

            public String getSpStr() {
                return spStr;
            }

            public void setSpStr(String spStr) {
                this.spStr = spStr;
            }

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getStartTime() {
                return startTime;
            }

            public void setStartTime(String startTime) {
                this.startTime = startTime;
            }

            public Object getEndTime() {
                return endTime;
            }

            public void setEndTime(Object endTime) {
                this.endTime = endTime;
            }

            public LinksBean getLinks() {
                return _links;
            }

            public void setLinks(LinksBean links) {
                this._links = links;
            }

            public static class LinksBean {
                /**
                 * self : {"href":"http://microservice.shoppingyizhan.com/chn/chunnel-recommend/10"}
                 * goodsInfo : {"href":"图案"}
                 */

                private GoodsInfoBean goodsInfo;

                public GoodsInfoBean getGoodsInfo() {
                    return goodsInfo;
                }

                public void setGoodsInfo(GoodsInfoBean goodsInfo) {
                    this.goodsInfo = goodsInfo;
                }

                public static class GoodsInfoBean extends SelfInfo{
                }
            }
        }
    }
}
